index.js
zzmq.dev@gmail.com[dev3]/mathkit[add-roundto-n-decimals-function-rounds] / index.js
@ d9db29f0
Download
Ladder Summary
- file Add roundTo function to round numbers to a specified decimal precision with validation and tests
export function sum(...numbers) {
return numbers.reduce((total, n) => total + n, 0);
}
export { isOdd } from "./src/isOdd.js";
export { isEven } from "./src/isEven.js";